home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Burning & Media / GB-PVR 1.2.13 / GBPVR10213.msi / Cabs.w1.cab / Admin.aspx560 < prev    next >
Text File  |  2008-02-23  |  23KB  |  357 lines

  1. <%@ Page language="c#" Inherits="gbweb.Admin" CodeFile="Admin.aspx.cs" culture="auto" uiculture="auto" %>
  2. <%@ Register TagPrefix="gbpvr" TagName="Header" Src="Header.ascx" %>
  3. <%@ Register TagPrefix="gbpvr" TagName="Footer" Src="Footer.ascx" %>
  4. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  5. <HTML>
  6.     <HEAD>
  7.         <title>GBPVR - Config</title>
  8.         <meta name="vs_snapToGrid" content="True">
  9.         <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
  10.         <meta name="CODE_LANGUAGE" Content="C#">
  11.         <meta name="vs_defaultClientScript" content="JavaScript">
  12.         <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
  13.         <link rel="stylesheet" type="text/css" href="<%=System.Convert.ToString(Session["theme"])%>/styles.css">
  14.         <link rel="shortcut icon" type="image/gif" href="<%=System.Convert.ToString(Session["theme"])%>/favicon.gif">
  15.         <script language="javascript" src="public/popup.js"></script>
  16.         <script language="javascript" src="public/scrolling.js"></script>
  17.         <script language="javascript" src="public/Ajax.js"></script>
  18.         <script language="javascript">
  19.             function reload()
  20.             {
  21.                 document.Form1.submit();
  22.             }
  23.         </script>
  24.     </HEAD>
  25.     <body class="tabbedpage" onload="GetServerTime(),GetReminders(), fixScrolling('hdnScrollState')">
  26.         <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="True">
  27.             <Services>
  28.                 <asp:ServiceReference Path="~/AjaxService.asmx" />
  29.             </Services>
  30.         </asp:ScriptManager>
  31.         <form id="Form1" method="post" runat="server">
  32.         <input runat="server" type="hidden" id="hdnScrollState" style="width: 39px" />
  33.             <gbpvr:Header id="header" runat="server" ActiveTab="admin" />
  34.             <table border="0" cellspacing="0" cellpadding="0" width="100%">
  35.                 <tr>
  36.                     <td align=left valign=top><IMG height="14" src="public/t.gif" width="1" border="0"></td>
  37.                     <td>
  38.                     <table cellSpacing="0" border="0" cellpadding="0">
  39.                         <tr>
  40.                             <td align=left valign=top id=timeDiv class=time></td>
  41.                             <td align=left valign=top><IMG height="1" src="public/t.gif" width="15" border="0"></td>
  42.                             <td align=left valign=top id=REMINDER_DIV class=time ></td>
  43.                         </tr>    
  44.                     </table>
  45.                     </td>
  46.                 </tr>
  47.                 <tr>
  48.                     <td width="10"><img src="public/t.gif" width="10" height="1" border="0"></td>
  49.                     <td width="99%">
  50.                         <table border="0" cellspacing="0" cellpadding="0" width="100%">
  51.                             <tr>
  52.                                 <td width="99%" class="cline"><img src="public/t.gif" width="400" height="1" border="0"></td>
  53.                             </tr>
  54.                             <tr>
  55.                                 <td width="99%"><span class="date"><img src="public/t.gif" width="1" height="4"><br>
  56.                                         <b>Configuration</b></span></td>
  57.                             </tr>
  58.                         </table>
  59.                         <img src="public/t.gif" width="1" height="10"><br>
  60.                         <table class="listing" border="0">
  61.                             <colgroup>
  62.                                 <col width="220">
  63.                                 <col width="450">
  64.                             </colgroup>
  65.                             <tr>
  66.                                 <td align="right" nowrap="nowrap" style="width: 220px; height: 21px" valign="top">
  67.                                 </td>
  68.                                 <td align="right" style="width: 457px; height: 21px; text-align: left">
  69.                                     <div style="FLOAT: right">
  70.                                         <asp:LinkButton id="LinkButton1" runat="server" CssClass="btn-normal-small" onclick="hlSubmit_Click">
  71.                                             <span>Submit</span></asp:LinkButton>
  72.                                         <asp:HyperLink NavigateUrl="#" id="HyperLink1" runat="server" CssClass="btn-normal-small" OnClick="document.Form1.reset();return false;">
  73.                                             <span>Reset</span></asp:HyperLink>
  74.                                     </div>
  75.                                 </td>
  76.                             </tr>
  77.                             <tr valign="top">
  78.                                 <td align="right" nowrap="nowrap" style="width: 220px; height: 21px" valign="top">
  79.                                 </td>
  80.                                 <td align="left" style="width: 457px; height: 21px; text-align: left">
  81.                                     <strong>-- EWA Configuration Settings --</strong></td>
  82.                             </tr>
  83.                             <tr valign="top">
  84.                                 <td align="right" nowrap="nowrap" style="width: 220px; height: 21px" valign="top">
  85.                                     <strong>Standard EWA Tabs to Display:</strong></td>
  86.                                 <td align="left" style="width: 457px; height: 21px; text-align: left">
  87.                                     <asp:CheckBoxList ID="displayTabs" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow"
  88.                                         Width="453px">
  89.                                         <asp:ListItem Value="guide">TV Guide</asp:ListItem>
  90.                                         <asp:ListItem Value="manage">Manage Recordings</asp:ListItem>
  91.                                         <asp:ListItem Value="search">Episode Search</asp:ListItem>
  92.                                         <asp:ListItem Value="vlibrary">Video Library</asp:ListItem>
  93.                                         <asp:ListItem Value="mlibrary">Music Library</asp:ListItem>
  94.                                         <asp:ListItem Value="plibrary">Photo Library</asp:ListItem>
  95.                                         <asp:ListItem Value="stats">Statistics</asp:ListItem>
  96.                                     </asp:CheckBoxList></td>
  97.                             </tr>
  98.                             <tr>
  99.                                 <TD vAlign="top" align="right" style="width: 220px"><B>Automatic Login Range:</B></TD>
  100.                                 <TD align="left" style="width: 457px">
  101.                                     <asp:TextBox id="txtAutologinList" runat="server" Columns="60">127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,169.254.0.0/16</asp:TextBox>
  102.                                 </TD>
  103.                             </tr>
  104.                             <tr>
  105.                                 <TD style="height: 42px; width: 220px;"></TD>
  106.                                 <TD style="height: 42px; width: 457px;">
  107.                                     <span style="FLOAT: left; PADDING-TOP: 2px">Quick Picks: </span>
  108.                                     <asp:LinkButton id="hlAutologinInternal" runat="server" CssClass="btn-normal-small" onclick="hlAutologinInternal_Click">
  109.                                         <span>Internal</span></asp:LinkButton>
  110.                                     <asp:LinkButton id="hlAutologinNone" runat="server" CssClass="btn-normal-small" onclick="hlAutologinNone_Click">
  111.                                         <span>None</span></asp:LinkButton>
  112.                                     <span style="FLOAT: left; PADDING-TOP: 2px">(<a href="http://en.wikipedia.org/wiki/IPv4_subnetting_reference" target="_blank">help</a>)
  113.                                     </span>
  114.                                 </TD>
  115.                             </tr>
  116.                             <tr>
  117.                                 <TD style="width: 220px"></TD>
  118.                                 <TD style="width: 457px">
  119.                                     <asp:Label CssClass="conflict" id="lblAutologinWarning" runat="server"></asp:Label>
  120.                                 </TD>
  121.                             </tr>
  122.                             <tr>
  123.                                 <td align="right" style="width: 220px; height: 26px" valign="top">
  124.                                     <strong>Guest User Information:</strong></td>
  125.                                 <td align="left" style="width: 457px; height: 26px">
  126.                                     Id:
  127.                                     <INPUT id="guestUser" type="text"
  128.                                         runat="server" style="width: 125px">
  129.                                     Password:
  130.                                     <INPUT id="guestPassword" type="password" 
  131.                                         runat="server" style="width: 125px"></td>
  132.                             </tr>
  133.                             <tr>
  134.                                 <TD vAlign="top" align="right" style="width: 220px; height: 26px;"><B>Playlist Extension:</B></TD>
  135.                                 <TD align="left" style="width: 457px; height: 26px;"><INPUT id="playlistExtension" type="text" size="5" value="m3u" name="txtTimelineRepeat"
  136.                                         runat="server"> (used for webadmin playback)</TD>
  137.                             </tr>
  138.                             <tr valign="top">
  139.                                 <td align="right" nowrap="nowrap" style="width: 220px" valign="top">
  140.                                 </td>
  141.                                 <td align="left" style="width: 457px">
  142.                                 </td>
  143.                             </tr>
  144.                             <tr valign="top">
  145.                                 <td align="right" nowrap="nowrap" style="width: 220px" valign="top">
  146.                                 </td>
  147.                                 <td align="left" style="width: 457px">
  148.                                     <strong>-- TV Guide Settings --</strong></td>
  149.                             </tr>
  150.                             <tr valign="top">
  151.                                 <td valign="top" align="right" nowrap style="width: 220px"><B>Minute Span:</B></td>
  152.                                 <td align="left" style="width: 457px">
  153.                                     <input type="text" name="txtMinuteSpan" size="5" id="txtMinuteSpan" runat="server">
  154.                                     (how many minutes to show at once in the guide)
  155.                                 </td>
  156.                             </tr>
  157.                             <tr valign="top">
  158.                                 <td align="right" style="width: 220px"><B>Minute Interval:</B></td>
  159.                                 <td align="left" style="width: 457px">
  160.                                     <input type="text" name="txtMinuteInterval" size="5" id="txtMinuteInterval" runat="server">
  161.                                     (number of minutes per division in the timeline)
  162.                                 </td>
  163.                             </tr>
  164.                             <tr valign="top">
  165.                                 <td align="right" style="width: 220px"><B>Minute Slice:</B></td>
  166.                                 <td align="left" style="width: 457px">
  167.                                     <input type="text" name="txtMinuteSlice" size="5" id="txtMinuteSlice" runat="server">
  168.                                     (accuracy of program layout)
  169.                                 </td>
  170.                             </tr>
  171.                             <tr valign="top">
  172.                                 <td align="right" style="width: 220px"><B>Timeline Repeat:</B></td>
  173.                                 <td align="left" style="width: 457px">
  174.                                     <input type="text" name="txtTimelineRepeat" size="5" id="txtTimelineRepeat" runat="server">
  175.                                 </td>
  176.                             </tr>
  177.                             <tr>
  178.                                 <td align="right" style="width: 220px">
  179.                                     <strong>Default Guide Start Time:</strong></td>
  180.                                 <td align="left" style="width: 457px">
  181.                                     <asp:TextBox ID="guideStartTime" runat="server" CausesValidation="True" Width="57px"></asp:TextBox>
  182.                                     (blank for current time. valid = 00:00-23:59)
  183.                                     <asp:RegularExpressionValidator ID="validateGuideStartTime" runat="server" ControlToValidate="guideStartTime"
  184.                                         ErrorMessage="Invalid" Font-Bold="True" ValidationExpression="^([0-1][0-9]|[2][0-3]):([0-5][0-9])$"
  185.                                         Width="54px"></asp:RegularExpressionValidator></td>
  186.                             </tr>
  187.                             <tr>
  188.                                 <td valign="top" align="right" style="width: 220px">
  189.                                     <strong>Reminder Notification:</strong></td>
  190.                                 <td align="left" style="width: 457px">
  191.                                     <input type="text" id="txtReminderDays" runat="server" maxlength="2" style="width: 28px">
  192.                                     <input type="text" id="txtReminderHours" runat="server" maxlength="2" style="width: 28px">
  193.                                     <input type="text" id="txtReminderMinutes" runat="server" maxlength="2" style="width: 28px">
  194.                                      <br />
  195.                                     (Days/hours/minutes prior to show start for reminder to display)
  196.                                 </td>
  197.                             </tr>
  198.                             <tr>
  199.                                 <td align="right" style="width: 220px">
  200.                                     <strong>Kill All Set Reminders:</strong></td>
  201.                                 <td align="left" style="width: 457px; height: 22px">
  202.                                     <asp:LinkButton ID="KillAllReminders" runat="server" CssClass="btn-normal-small"
  203.                                         Height="23px" OnClick="Kill_All_Reminders_Click" ToolTip="Click this button to delete all reminders currently set."><span>Kill Reminders</span></asp:LinkButton></td>
  204.                             </tr>
  205.                             <tr>
  206.                                 <td align="right" style="width: 220px">
  207.                                     <strong>Enable Auto-Search:</strong></td>
  208.                                 <td align="left" style="width: 457px; height: 22px">
  209.                                     <asp:RadioButtonList id="autoShowSearch" runat="server" CssClass="listing" RepeatDirection="Horizontal" RepeatLayout="Flow" OnSelectedIndexChanged="hlSubmit_Click" Width="125px" ToolTip="Select Yes if you would like EWA to perform a daily auto-search using your saved searches that you have flagged to be included in the auto-search.   Selecting No disables the auto-search functionality.">
  210.                                         <asp:ListItem Value="True">Yes</asp:ListItem>
  211.                                         <asp:ListItem Selected="True" Value="False">No</asp:ListItem>
  212.                                     </asp:RadioButtonList>
  213.                                     (Set Reminders)</td>
  214.                             </tr>
  215.                             <tr>
  216.                                 <td align="right" style="width: 220px">
  217.                                     <strong>Enable Auto-Record:</strong></td>
  218.                                 <td align="left" style="width: 457px; height: 22px">
  219.                                     <asp:RadioButtonList id="autoRecordSearch" runat="server" CssClass="listing" RepeatDirection="Horizontal" RepeatLayout="Flow" OnSelectedIndexChanged="hlSubmit_Click" Width="125px" ToolTip="Select Yes if you would like EWA to perform a daily auto-search using your saved searches that you have flagged to be included in the auto-search.   Selecting No disables the auto-search functionality.">
  220.                                         <asp:ListItem Value="True">Yes</asp:ListItem>
  221.                                         <asp:ListItem Selected="True" Value="False">No</asp:ListItem>
  222.                                     </asp:RadioButtonList>
  223.                                     (Record Programmes)</td>
  224.                             </tr>
  225.                             <tr>
  226.                                 <td align="right" style="width: 220px">
  227.                                     <strong>Auto-Search EPG Days:</strong></td>
  228.                                 <td align="left" style="width: 457px">
  229.                                 <span style="FLOAT: left">
  230.                                         <INPUT id="autoSearchEPGDays" type="text" name="autoSearchEPGDays"
  231.                                         runat="server" style="width: 40px" title="Number of days in EPG that Auto-Search should search."> </span>
  232.                                     <asp:LinkButton ID="forceAutoSearch" runat="server" CssClass="btn-normal-small" OnClick="forceSearch_Click" ToolTip="Click this button for auto-search to occur immediatly." Height="23px"><span>Search Now</span></asp:LinkButton>
  233.                                     </td>
  234.                             </tr>
  235.                             <TR>
  236.                                 <TD align="right" style="width: 220px"><B>Default Recording Quality:</B></TD>
  237.                                 <TD align="left" style="width: 457px">
  238.                                     <asp:DropDownList id="dropdownRecordingQuality" runat="server">
  239.                                         <asp:ListItem Value="High">High</asp:ListItem>
  240.                                         <asp:ListItem Value="Medium" Selected="True">Medium</asp:ListItem>
  241.                                         <asp:ListItem Value="Low">Low</asp:ListItem>
  242.                                         <asp:ListItem Value="Custom1">Custom1</asp:ListItem>
  243.                                         <asp:ListItem Value="Custom2">Custom2</asp:ListItem>
  244.                                     </asp:DropDownList></TD>
  245.                             </TR>
  246.                             <tr valign="top">
  247.                                 <td align="right" valign="top" style="width: 220px; height: 24px;"><B>Theme:</B></td>
  248.                                 <td align="left" style="width: 457px; height: 24px;">
  249.                                     <asp:DropDownList id="dropdownThemes" runat="server"></asp:DropDownList>
  250.                                 </td>
  251.                             </tr>
  252.                             <TR>
  253.                                 <TD vAlign="top" align="right" style="width: 220px; height: 141px"><B>Programme Items to Display:</B></TD>
  254.                                 <TD align="left" style="width: 457px; height: 141px">
  255.                                     <asp:CheckBox id="showSubtitle" runat="server"></asp:CheckBox>Subtitle<BR>
  256.                                     <asp:CheckBox id="showIMDB" runat="server"></asp:CheckBox>IMDB Link<BR>
  257.                                     <asp:CheckBox id="showNetflix" runat="server"></asp:CheckBox>Netflix Link<BR>
  258.                                     <asp:CheckBox id="showWiki" runat="server"></asp:CheckBox>Wikipedia Link<BR>
  259.                                     <asp:CheckBox ID="showTVCom" runat="server"></asp:CheckBox>TV.Com Link<BR>
  260.                                     <asp:CheckBox id="showDescription" runat="server"></asp:CheckBox>Description<BR>
  261.                                     <asp:RadioButtonList id="UseChannelIcons" runat="server" CssClass="listing" RepeatDirection="Horizontal" RepeatLayout="Flow">
  262.                                         <asp:ListItem Value="chnlText">Channel Text</asp:ListItem>
  263.                                         <asp:ListItem Value="chnlIcon">Channel Icons</asp:ListItem>
  264.                                         <asp:ListItem Value="chnlBoth">Channel Text and Icons</asp:ListItem>
  265.                                     </asp:RadioButtonList><br />
  266.                                     <asp:RadioButtonList id="showGenre" runat="server" CssClass="listing" RepeatDirection="Horizontal" RepeatLayout="Flow" Width="442px">
  267.                                         <asp:ListItem Value="noGenre">Show No Genres</asp:ListItem>
  268.                                         <asp:ListItem Value="singleGenre">Show Single Best Genre</asp:ListItem>
  269.                                         <asp:ListItem Value="allGenre">Show All Genres</asp:ListItem>
  270.                                     </asp:RadioButtonList>
  271.                                         <BR>
  272.                                     <asp:CheckBox id="showRating" runat="server"></asp:CheckBox>Rating</TD><TD vAlign="top" style="height: 141px"><span runat="server" id="spanExtendedEWA">
  273.                                         <asp:CheckBox id="showNew" runat="server" Text="Show New"></asp:CheckBox><BR>
  274.                                         <asp:CheckBox id="showCredits" runat="server" Text="Show Credits"></asp:CheckBox><BR>
  275.                                         <asp:CheckBox id="showAirDate" runat="server" Text="Show Air/Release Date"></asp:CheckBox><BR>
  276.                                         <asp:CheckBox id="showStarRating" runat="server" Text="Show Star Rating"></asp:CheckBox><BR>
  277.                                         <asp:CheckBox id="showHD" runat="server" Text="Show HD"></asp:CheckBox><BR></span></TD>
  278.                                 
  279.                             </TR>
  280.                             <tr valign="top">
  281.                                 <td align="right" valign="top" style="width: 220px"><B>Channel Icon Size:</B></td>
  282.                                 <td align="left" style="width: 457px">
  283.                                     <span style="FLOAT: left"><input type="text" name="txtChnlIconW" size="4" id="txtChnlIconW" runat="server" maxlength="3">
  284.                                         x <input type="text" name="txtChnlIconH" size="4" id="txtChnlIconH" runat="server" maxlength="3"> 
  285.                                     </span>
  286.                                     <asp:LinkButton id="sizeDefault" runat="server" CssClass="btn-normal-small" onclick="sizeDefault_Click">
  287.                                         <span>Default</span></asp:LinkButton>
  288.                                         </td>
  289.                             </tr>
  290.                             <tr>
  291.                                 <td style="width: 220px; text-align: right">
  292.                                 </td>
  293.                                 <td style="width: 457px; text-align: left">
  294.                                     <strong>-- Streamer Configuration Settings --</strong></td>
  295.                             </tr>
  296.                             <tr>
  297.                                 <td style="width: 220px; text-align: right">
  298.                                 </td>
  299.                                 <td style="width: 457px">
  300.                                 </td>
  301.                             </tr>
  302.                             <tr>
  303.                                 <td style="width: 220px; text-align: right">
  304.                                     <strong>VLC Location (Video):</strong></td>
  305.                                 <td style="width: 457px">
  306.                                     <asp:TextBox ID="strmVLCLoc" runat="server" Width="409px">C:\Program Files\VideoLAN\Vlc\</asp:TextBox></td>
  307.                             </tr>
  308.                             <tr>
  309.                                 <td style="text-align: right; width: 220px;">
  310.                                     <strong>Stream Player (Video):</strong></td>
  311.                                 <td style="width: 457px">
  312.                                     <asp:DropDownList ID="streamPlayer" runat="server">
  313.                                         <asp:ListItem Selected="True" Value="vlc">VLC</asp:ListItem>
  314.                                         <asp:ListItem Value="wmp">WMP</asp:ListItem>
  315.                                     </asp:DropDownList>
  316.                                     <asp:CheckBox ID="externalPlayer" runat="server" />
  317.                                     Open Stream in External Player</td>
  318.                             </tr>
  319.                             <tr>
  320.                                 <td style="width: 220px; text-align: right">
  321.                                     <strong>VLC Location (Audio):</strong></td>
  322.                                 <td style="width: 457px">
  323.                                     <asp:TextBox ID="strmVLCLoc2" runat="server" Width="409px">C:\Program Files\VideoLAN\Vlc\</asp:TextBox></td>
  324.                             </tr>
  325.                             <tr>
  326.                                 <td style="width: 220px; text-align: right">
  327.                                     <strong>Stream Player (Audio):</strong></td>
  328.                                 <td style="width: 457px">
  329.                                     <asp:DropDownList ID="streamPlayer2" runat="server">
  330.                                         <asp:ListItem Selected="True" Value="vlc">VLC</asp:ListItem>
  331.                                         <asp:ListItem Value="wmp">WMP</asp:ListItem>
  332.                                     </asp:DropDownList>
  333.                                     <asp:CheckBox ID="externalPlayer2" runat="server" />
  334.                                     Open Stream in External Player</td>
  335.                             </tr>
  336.                             <tr valign="top">
  337.                                 <td colspan="2"><br>
  338.                                     <div style="FLOAT: right">
  339.                                         <asp:LinkButton id="hlSubmit" runat="server" CssClass="btn-normal-small" onclick="hlSubmit_Click">
  340.                                             <span>Submit</span></asp:LinkButton>
  341.                                         <asp:HyperLink NavigateUrl="#" id="hlReset" runat="server" CssClass="btn-normal-small" OnClick="document.Form1.reset();return false;">
  342.                                             <span>Reset</span></asp:HyperLink>
  343.                                     </div>
  344.                                 </td>
  345.                             </tr>
  346.                         </table>
  347.                         <img src="public/t.gif" width="1" height="10"><br>
  348.                         <!-- Manage table end -->
  349.                         <gbpvr:Footer id="Footer1" runat="server" />
  350.                     </td>
  351.                     <td width="10"><img src="public/t.gif" width="10" height="71" border="0"></td>
  352.                 </tr>
  353.             </table>
  354.         </form>
  355.     </body>
  356. </HTML>
  357.